package com.example.demo.service;

import com.example.demo.admin.dto.SearchDto;
import com.example.demo.admin.pojo.PageResult;

public interface DeptService {
    PageResult getAllDept(SearchDto searchDto);

    void deleteDeptById(Long id);

    void addDept(String deptName);

    void editDept(String deptName,Long id);
}
